<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://gson.cn/fn" prefix="el"%>
<div class="easyui-layout" fit="true">
	<div data-options="region:'north'" border="false"
		style="height: 50px; padding: 12px; overflow: hidden;">
		<form id="roleSearchForm">
			角色名称:<input type="text" id="roleName" class="easyui-textbox" /> <a
				id="roleSearch" iconCls="icon-search" class="easyui-linkbutton">检索</a>
			<a id="roleReset" onclick="return confirm('已重置')"
				iconCls="icon-reload" class="easyui-linkbutton">重置</a>
		</form>
	</div>
	<div data-options="region:'center'" border="false">
		<table id="RoleListGrid"></table>
	</div>
	<div id="rolePermissionPanel"
		data-options="region:'east',collapsible:false,tools:'#rolePermissionTools'"
		style="width: 200px; border-right: 0px; border-bottom: 0px;"
		title="请选择角色">
		<ul id="rolePermissionTree"></ul>
	</div>
</div>
<div id="rolePermissionTools">
	<a id="rolePermissionSave" class="icon-chapter"></a>
</div>
<div id="roleGridAction" style="display: none;">
		
			<c:if test="${el:contains(keys,'role:edit') }">
				<a class="ctr edit">编辑</a>
			</c:if>
			<c:if test="${el:contains(keys,'role:delete') }">
		<a class="ctr delete">删除</a>
		</c:if>
	</div> 
<div id="roleGridToolbar" style="display: none;">
		
			<c:if test="${el:contains(keys,'role:create') }">
				<a class="easyui-linkbutton ctr create" iconCls="icon-add" plain="true">添加</a>
			</c:if>
</div> 
<script src="public/js/xt-role.js"></script>